package com.itheima05;


/**
 * @author Xiao
 * @date 2021/7/25
 */
public class GenericityDemo01 {
    public static void main(String[] args) {
        Genericity<String, Integer> gen = new Genericity<>();
        gen.setName("阿良");
        gen.setAge(18);
        String name = gen.getName();
        Integer age = gen.getAge();
        System.out.println(name + "\t" + age);
    }
}
